<?php


namespace app\plugins\goods\admin\controller;


use helper\form\Builder;

/**
 * Class Tags
 * @package app\plugins\goods\admin\controller
 * @property \app\plugins\goods\admin\service\Tags $service;
 */
class Tags extends \app\plugins\Controller
{
    public function update(){
        if($this->request->isPost()){
            return $this->service->update();
        }

        $this->assign(['info'=>$this->service->getInfo()]);
        return $this->fetch();
    }

}